package org.javastudy.springaction;

import org.springframework.stereotype.Component;

@Component
public class SgtPeppers implements CompactDisc {
    private String title = "shuangjiegun";
    private String artist = "zhoujielun";

    @Override
    public void play() {
        System.out.println("Playing " + title + " by -> " + artist);
    }
}
